﻿
    *
    {
        margin: 0; padding: 0; list-style-type: none;
        font-size: 12px;
    }
    body
    {
        background-color: #000;
    }
    a
    {
        color: #666;
        text-decoration: none;
    }
    a:hover
    {
        color: #333;
        text-decoration: underline;
    }
    
    .icon
    {
        width: 16px;
        height: 16px;
        background-image: url(../images/controls.png);
        background-repeat: no-repeat;
    }
    .icon_text {
        background-position: -1782px 0;
    }
    .icon_textarea {
        background-position: -1756px 0;
    }
    .icon_radio {
        background-position: -1495px 0;
    }
    .icon_checkbox {
        background-position: -442px 0;
    }
    .icon_select {
        background-position: -611px 0;
    }
    
    #container
    {
        margin: 10px 10px 10px 10px;
    }
    #form_adds
    {
        position: absolute;
        background: #ddd;
        width: 150px;
        border: 1px solid #ccc;
        border-top-width: 0;
        border-left-width: 0;
    }
        .form_adds_title
        {
            height: 33px;
            
            background-image: url(../images/index_x.png);
            background-repeat: repeat-x;
            background-position: 0px -1130px;

            padding: 0 8px;
            border-bottom: 1px solid #999;
            letter-spacing: 1px;
            font-weight: bold;
            color: #333;
            cursor: default;
            text-shadow: 0px 1px 0px #fff, 0 0 10px rgba(255,255,255,0.6);
            white-space: nowrap;
            line-height: 33px;
        }
            .form_adds_title_img
            {
                position: absolute;
                margin-left: 5px;
                margin-top: 8px;
                background-position: -1808px 0px;
            }
            .form_adds_title_span
            {
                margin-left: 32px;
            }
        .form_adds_content
        {
            padding: 5px;
            background: #f5f5f5;
        }
            .form_adds_content li
            {
                margin-bottom: 3px;
                padding: 3px; height: 16px;
                cursor: pointer;
            }
            .form_adds_content li:hover
            {
                background-image: url(../images/drag-back.png);
            }
                .form_adds_content li img
                {
                    position: absolute;
                    margin-left: 5px;
                }
                .form_adds_content li span
                {
                    line-height: 16px;
                    margin-left: 26px;
                }
        
    #form
    {
        margin-left: 160px;
        padding: 10px;
        width: 900px;
        height: 500px;
        border: 1px solid #eee;
        background-color: #fff;
    }
        #form .form_item
        {
            margin-bottom: 10px;
            padding: 5px 0 5px 120px;
            border: 1px solid #fff;
            cursor: move;
        }
        #form .form_item input, #form .form_item select, #form .form_item textarea
        {
            padding: 2px 3px;
        }
        #form .form_item:hover
        {
            border-style: dashed;
            border-color: Blue;
        }
        #form .form_item span
        {
            margin: 0 5px 0 3px;
        }
        #form .form_item label
        {
            display: block;
            position: absolute;
            margin-top: 3px;
            margin-left: -120px;
            width: 100px;
            text-align: right;
        }
        #form .form_button
        {
            padding-left: 120px;
        }
            #form .form_button input
            {
                padding: 3px 5px;
            }
    
    
    .dialog
    {
        display: none;
    }
        .dialog .form_item
        {
            line-height: 18px;
            margin-bottom: 10px;
            padding: 5px 0 5px 80px;
        }
        .dialog .form_item label
        {
            display: block;
            width: 70px;
            position: absolute;
            margin-left: -80px;
            text-align: right;
        }
        .dialog .form_item input, .dialog .form_item select
        {
            padding: 2px 3px;
        }
    
    .ui-state-highlight
    {
        min-height: 28px;
        border: 1px solid #660;
    }